import java.util.Random;

/**
 * This is the StoreInventory Class
 * This class keps track of the items stored in the wagon
 * @author Aditya Desai
 * @version 1.0 10/20/2011
 */

public class StoreInventory extends Inventory{

	/**
	 * 
	 */
	private static final long serialVersionUID = 907506626188996098L;
	
	/**
	 * Constructor for the StoreInventory
	 * @param quantitySeed A seed used to determine the max quantity of items in a given store
	 */
	public StoreInventory(int quantitySeed){
		super(Integer.MAX_VALUE, Integer.MAX_VALUE);
		Random rand = new Random();
		add(new Item("Oxen",rand.nextInt(quantitySeed)+1,0, 40));
		add(new Item("Food",rand.nextInt(quantitySeed)+1,5, 1));
		add(new Item("Clothing",rand.nextInt(quantitySeed)+1,2, 10));
		add(new Item("Ammunition Box x20",rand.nextInt(quantitySeed)+1,3, 2));
		add(new Item("Wheels",rand.nextInt(quantitySeed)+1,75, 10));
		add(new Item("Axle",rand.nextInt(quantitySeed)+1,125, 10));
		add(new Item("Tongue",rand.nextInt(quantitySeed)+1,100, 10));
	}
	
	
}
